package com.hnuit.dao;

import com.hnuit.pojo.Courses;


import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface CoursesDao {
    public List<Courses> findAllCourses() throws IOException;

    public Courses findCoursesById(int id)throws IOException;

    public Courses deleteCoursesById(int id)throws IOException;

    Integer addCourses(Courses courses) throws IOException;

    Integer updateCourses(Map<String,Object> map) throws IOException;
}
